﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="DirectorateDetails.aspx.cs" Inherits="AB.ServiceDirectory.Design.Directorate.DirectorateDetails" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });
    </script>
</asp:Content>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="ContentTitle" runat="server">
    <h2>Directorate Details</h2>
</asp:Content>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
    <div class="grid740 simplebox relative">
        <div id="tabs">
            <ul>
                <li>
                    <asp:HyperLink ID="LinkDetails01" NavigateUrl="#DetailsPanel01" runat="server">Details</asp:HyperLink></li>
<%--                <li>
                    <asp:HyperLink ID="LinkDetails02" NavigateUrl="#DetailsPanel02" runat="server">Details 2</asp:HyperLink></li>
                <li>
                    <asp:HyperLink ID="LinkDetails03" NavigateUrl="#DetailsPanel05" runat="server">Details 5</asp:HyperLink></li>--%>
            </ul>
            <span class="top-right-cornor">
                <asp:Button CssClass="st-button" ID="ButtonSave" runat="server" Text="Save" />
                <asp:Button CssClass="st-button" ID="ButtonBack" runat="server" 
                Text="Back" PostBackUrl="~/Directorate/DirectorateList.aspx" 
                CausesValidation="False"/>
            </span>

            <%--DETAIL PANEL 01--%>
            <asp:Panel ID="DetailsPanel01" ClientIDMode="Static" runat="server">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelOrganisationName" runat="server" Text="Organisation Name" CssClass="st-labeltext level1" AssociatedControlID="TextBoxOrganisationName">
                            <asp:RequiredFieldValidator ID="RequiredOrganisationName" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxOrganisationName" />
                        </asp:Label><asp:TextBox ID="TextBoxOrganisationName" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="half last">
                        <asp:Label ID="LabelTypeOfBusiness" runat="server" Text="Type of Business" CssClass="st-labeltext level1" AssociatedControlID="TextBoxTypeOfBusiness">
                            <asp:RequiredFieldValidator ID="RequiredTypeOfBusiness" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxTypeOfBusiness" />
                        </asp:Label><asp:TextBox ID="TextBoxTypeOfBusiness" CssClass="st-forminput st-disable" runat="server" Width="150px"></asp:TextBox><asp:LinkButton ID="ButtonTypeOfBusinessLookup" runat="server" 
                            CssClass="hg-blue" Text="Lookup" CausesValidation="False" />
                        </div>
                    <div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelShortDescription" runat="server" Text="Organisation Short Description" CssClass="st-labeltext level1" AssociatedControlID="TextBoxShortDescription">
                            <asp:RequiredFieldValidator ID="RequiredShortDescription" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxShortDescription" />
                        </asp:Label><asp:TextBox ID="TextBoxShortDescription" CssClass="st-forminput" runat="server" Width="200px" TextMode="MultiLine" Rows="3"></asp:TextBox></div><div class="half last">
                    </div>
                   <div class="half last">
                        <asp:Label ID="LabelSicCode" runat="server" Text="SIC" CssClass="st-labeltext level1" AssociatedControlID="TextBoxSicCode"></asp:Label><asp:TextBox ID="TextBoxSicCode" CssClass="st-forminput st-disable" runat="server" Width="50px"></asp:TextBox></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelLeadContact" runat="server" Text="Lead Contact" CssClass="st-labeltext level1" AssociatedControlID="TextBoxLeadContact"></asp:Label><asp:TextBox ID="TextBoxLeadContact" CssClass="st-forminput st-disable" runat="server" Width="150px"></asp:TextBox><asp:LinkButton ID="ButtonContactLookup" runat="server" CssClass="hg-blue" 
                            Text="Lookup" CausesValidation="False" /></div><div class="half last">
                    <asp:Label ID="LabelFullDescription" runat="server" Text="Full Description" CssClass="st-labeltext level1" AssociatedControlID="TextBoxFullDescription"></asp:Label><asp:TextBox ID="TextBoxFullDescription" CssClass="st-forminput" runat="server" Width="200px" TextMode="MultiLine" Rows="3"></asp:TextBox><br/></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:CheckBox ID="CheckBoxCopy" runat="server" 
                            Text="Copy Address from Organisation" /><br /><br /><asp:Label ID="LabelAddressLine1" runat="server" Text="Address Line 1" CssClass="st-labeltext level1" AssociatedControlID="TextBoxAddressLine1">
                            <asp:RequiredFieldValidator ID="RequiredAddressLine1" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxAddressLine1" />
                        </asp:Label><asp:TextBox ID="TextBoxAddressLine1" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox><br/><br/><asp:Label ID="LabelAddressLine2" runat="server" Text="Address Line 2" CssClass="st-labeltext level1" AssociatedControlID="TextBoxAddressLine2"></asp:Label><asp:TextBox ID="TextBoxAddressLine2" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox><br/><br/><asp:Label ID="LabelAddressLine3" runat="server" Text="Address Line 3" CssClass="st-labeltext level1" AssociatedControlID="TextBoxAddressLine3"></asp:Label><asp:TextBox ID="TextBoxAddressLine3" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="half last">
                        <asp:Label ID="LabelPhoneNumber" runat="server" Text="Phone Number" CssClass="st-labeltext level1" AssociatedControlID="TextBoxPhoneNumber">
                            <asp:RequiredFieldValidator ID="RequiredPhoneNumber" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxPhoneNumber" />
                        </asp:Label><asp:TextBox ID="TextBoxPhoneNumber" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox><br/><br/><asp:Label ID="LabelFax" runat="server" Text="Fax" CssClass="st-labeltext level1" AssociatedControlID="TextBoxFax">
                        </asp:Label><asp:TextBox ID="TextBoxFax" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox><br/><br/><asp:Label ID="LabelEmail" runat="server" Text="Email" CssClass="st-labeltext level1" 
                            AssociatedControlID="TextBoxEmail"></asp:Label><asp:TextBox ID="TextBoxEmail" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox><br/><br/><asp:Label ID="LabelWebAddress" runat="server" Text="Web Address" CssClass="st-labeltext level1" AssociatedControlID="TextBoxWebAddress"></asp:Label><asp:TextBox ID="TextBoxWebAddress" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelPostcode" runat="server" Text="Postcode" CssClass="st-labeltext level1" AssociatedControlID="TextBoxPostcode">
                            <asp:RequiredFieldValidator ID="RequiredPostcode" runat="server" ErrorMessage="*" SetFocusOnError="true" ForeColor="red" ControlToValidate="TextBoxPostcode" />
                        </asp:Label><asp:TextBox ID="TextBoxPostcode" CssClass="st-forminput" runat="server" Width="150px"></asp:TextBox><asp:LinkButton ID="ButtonPostcodeLookup" runat="server" CssClass="hg-blue" 
                            Text="Lookup" CausesValidation="False" />
                    </div>
                    <div class="half last">
                        <asp:Label ID="LabelCharityNumber" runat="server" Text="Charity Number" CssClass="st-labeltext level1" AssociatedControlID="TextBoxCharityNumber"></asp:Label><asp:TextBox ID="TextBoxCharityNumber" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelCityTown" runat="server" Text="City/Town" CssClass="st-labeltext level1" AssociatedControlID="TextBoxCityTown"></asp:Label><asp:TextBox ID="TextBoxCityTown" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="half last">
                        <asp:Label ID="LabelCompanyNumber" runat="server" Text="Company Number" CssClass="st-labeltext level1" AssociatedControlID="TextBoxCompanyNumber"></asp:Label><asp:TextBox ID="TextBoxCompanyNumber" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelCounty" runat="server" Text="County" CssClass="st-labeltext level1" AssociatedControlID="TextBoxCounty"></asp:Label><asp:TextBox ID="TextBoxCounty" CssClass="st-forminput" runat="server" Width="200px"></asp:TextBox></div><div class="half last">
                        </div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelNationCounty" runat="server" Text="Nation County" CssClass="st-labeltext level1" AssociatedControlID="DropDownListNationCounty"></asp:Label><asp:DropDownList ID="DropDownListNationCounty" runat="server" CssClass="st-forminput" Width="200px">
                        </asp:DropDownList>
                    </div>
                    <div class="half last">
                        </div><div class="clear"></div>
                </div>
            </asp:Panel>

            <%--DETAIL PANEL 02--%>
            <%--<asp:Panel ID="DetailsPanel02" ClientIDMode="Static" runat="server">
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="LabelOrgSpecialism" runat="server" Text="Organisation Specialism" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListOrgSpecialism"></asp:Label><div  class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListOrgSpecialism" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="half last">
                        <asp:Label ID="Label1" runat="server" Text="Service Personal Circumstances Capabilities" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListCircumstances"></asp:Label><div  class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListCircumstances" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="Label2" runat="server" Text="Service Disabilities Capabilities" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListOrgSpecialism"></asp:Label><div  class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListDisabilities" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="half last">
                        <asp:Label ID="Label3" runat="server" Text="Service Ethnicity Capabilities" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListCircumstances"></asp:Label><div  class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListEthnicity" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="Label4" runat="server" Text="Service Barriers Capabilities" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListBarriers"></asp:Label><div  class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListBarriers" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="half last">
                        <asp:Label ID="Label5" runat="server" Text="Accreditation" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListAccreditation"></asp:Label><div class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListAccreditation" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="clear"></div>
                </div>
                <div class="st-form-line-noleft">
                    <div class="half">
                        <asp:Label ID="Label6" runat="server" Text="Service Benefits Capabilities" CssClass="st-labeltext level1" AssociatedControlID="CheckBoxListBarriers"></asp:Label><div class="st-forminput left">
                        <asp:CheckBoxList ID="CheckBoxListBenefits" runat="server" Width="200px">
                            <asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem><asp:ListItem>Testing Item</asp:ListItem></asp:CheckBoxList></div></div><div class="clear"></div>
                </div>
            </asp:Panel>--%>

            <%--DETAIL PANEL 05--%>
<%--            <asp:Panel ID="DetailsPanel05" ClientIDMode="Static" runat="server">
                <div class="titleh">
                    <h3>
                        Current list of supporting materials
                        <span class="right">
                            <asp:HyperLink ID="HyperLinkCreate" runat="server" CssClass="hg-blue">Create</asp:HyperLink>
                            <asp:CheckBox ID="CheckBoxInactive" runat="server" Text="Include In-active" AutoPostBack="True"/>
                        </span>
                    </h3>
                </div>
                <asp:GridView ID="GridViewSupportingMaterials" CssClass="tablesorter" runat="server" AutoGenerateColumns="False"
                    AllowPaging="True" PageSize="5" AllowSorting="True">
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFormatString="~/Organisation/AddOrganisation.aspx"
                            HeaderText="URL" SortExpression="OrganisationName" >
                            <HeaderStyle CssClass="header" />    
                        </asp:HyperLinkField>
                        <asp:TemplateField HeaderText="Description" SortExpression="Description">
                            <ItemTemplate>
                                
                            </ItemTemplate>
                            <HeaderStyle CssClass="header" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Type">
                            <ItemTemplate>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Added By">
                            <ItemTemplate>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Added Date">
                            <ItemTemplate>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Is Active" SortExpression="IsActive">
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# true ? "Yes":"No" %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle CssClass="header" />
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle CssClass="pagination_table"></PagerStyle>
                </asp:GridView>
            </asp:Panel>--%>
        </div>
    </div>
</asp:Content>
